Component({
    options: {
        addGlobalClass: !0
    },
    properties: {
        goodsData: {
            type: Array,
            value: []
        },
        decoration: {
            type: null
        },
        love: {
            type: null
        },
        point: {
            type: null
        }
    },
    lifetimes: {
        attached: function() {
            this.setData({
                discountList: this.data.decoration.discount_list
            }), console.log(this.data.discountList.includes("1"));
        }
    },
    data: {
        discountList: []
    },
    methods: {
        goodsNav: function(t) {
            var o = t.currentTarget.dataset.goodsid;
            wx.navigateTo({
                url: "/packageF/consumption/goodsDetails/goodsDetails?goodsId=".concat(o)
            });
        }
    }
});